
import {createApp} from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

//引入整个ui
//import naive  from 'naive-ui/es/preset'



//导入
import 'normalize.css' 
import './assets/global.scss' 

const app = createApp(App)
//app.use(naive)




import { createDiscreteApi } from "naive-ui";
const {message} = createDiscreteApi(["message"]);

//将message挂载到VUe的全局中来
app.config.globalProperties.$message = message
app.use(router)


app.use(store)
app.mount("#app")
